package com.example.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long id;
    private String name;
    private Integer age;
    private String email;
    private String username;
    private String password;
    private String role;
}
